package ${entity.packageName}.po;

import com.gonsin.gview.annotations.data.GBatch;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.List;

@ApiModel("${entity.entityLabel}查询表单")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ${entity.entityName}SearchPo {

    <#list entity.fieldList as f><#if f.searchable>@ApiModelProperty(value = "${f.comment}")
    private ${f.type} ${f.name};
    
    </#if></#list>

    @ApiModelProperty("批量查询${entity.entityLabel}")
    @GBatch
    private List<String> ${entity.entityNameUnderline}Keys;
}
